package com.xiaoye.testDemo;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Description :default 修饰符
 * @Author : ChenYao
 * @Version : 1.0
 * @Create : Date Time: 18-9-15 上午10:29
 * @Update : Date Time: 18-9-15 上午10:29
 * @see :
 */
public interface People {

    void eat();

    default public void play(){
        System.out.println("接口里面的play方法");
    }
}
